
  <div class="layui-fluid">
        <div class="layui-card">
          <div class="layui-card-header">站点设置</div>
          <div class="layui-card-body">
            <br>账号：
            <br><br>邮箱：
            <br><br>手机：
          <form class="layui-form layui-form-module" lay-filter="J_ajaxForm" action="/admin.php/config/site" method="post">
          
            <div class="layui-form-item">
              <label class="layui-form-label">账号</label>
              <div class="layui-input-block">
                <div class="layui-input-inline"><input type="text" name="infoName" value="百度知道" class="layui-input"></div>
                <div class="layui-form-mid layui-word-aux">默认站点名称</div>
              </div>
            </div>

          <div class="layui-form-item">
            <label class="layui-form-label">头像：</label>
            <div class="layui-input-block">
              <div class="layui-input-inline">
                <div style="margin-bottom: 10px;"><img src="http://cdn.layui.com/avatar/168.jpg" /></div>
                <button type="button" class="layui-btn layui-btn-primary" id="LAY_avatarUpload">
                  <i class="layui-icon">&#xe67c;</i>上传头像
                </button>
              </div>
              <div class="layui-form-mid layui-word-aux">填写 ICP 备案的信息，例如: 浙ICP备xxxxxxxx号</div>
            </div>
          </div>

            <div class="layui-form-item">
              <label class="layui-form-label">站点模式：</label>
              <div class="layui-input-block">
                <div class="layui-input-inline">
                  <input type="radio" name="model" value="0" title="公开模式" >
                  <input type="radio" name="model" value="1" title="付费模式" checked>
                </div>
                <div class="layui-form-mid layui-word-aux">你的Discuz!Q 站点的运行模式</div>
              </div>
            </div>

          <div class="layui-form-item">
            <label class="layui-form-label">金额分成比例：</label>
            <div class="layui-input-block">
              <div class="layui-input-inline" style="width: 138px;"><input type="text" name="securityUsernameMin" value="" lay-verify="number" class="layui-input"></div>
              <div class="layui-form-mid">-</div>
              <div class="layui-input-inline" style="width: 138px;"><input type="text" name="securityUsernameMax" value="" lay-verify="number" class="layui-input"></div>
              <div class="layui-form-mid layui-word-aux">主题打赏、付费等的分成比例设置，两者加起来必须为10，不填时默认为作者10、平台0</div>
            </div>
          </div>
          
            <div class="layui-form-item">
              <label class="layui-form-label">ICP 备案信息：</label>
              <div class="layui-input-block">
                <div class="layui-input-inline"><input type="text" name="infoIcp" value="浙ICP备xxxxxxxx号" class="layui-input"></div>
                <div class="layui-form-mid layui-word-aux">填写 ICP 备案的信息，例如: 浙ICP备xxxxxxxx号</div>
              </div>
            </div>
            
            <div class="layui-form-item layui-form-text">
              <label class="layui-form-label">第三方统计代码：</label>
              <div class="layui-input-block">
                <div class="layui-input-inline"><textarea name="diyCode" class="layui-textarea"></textarea></div>
                <div class="layui-form-mid layui-word-aux">在第三方网站上注册并获得统计代码，并将统计代码粘帖在下面文本框中即可。</div>
              </div>
            </div>
            
            <div class="layui-form-item">
              <label class="layui-form-label">关闭站点：</label>
              <div class="layui-input-block">
                <div class="layui-input-inline">
                  <input type="checkbox" name="iswap" lay-skin="switch" lay-text="是|否" value="" checked>
                </div>
                <div class="layui-form-mid layui-word-aux">除管理员，其他用户不允许访问站点，一般用于站点关闭、系统维护等情况</div>
              </div>
            </div>

            <div class="layui-form-item layui-form-text">
              <label class="layui-form-label">限制访问提示：</label>
              <div class="layui-input-block">
                <div class="layui-input-inline"><textarea name="visitMessage" class="layui-textarea">是的股东会的鬼地方和11111</textarea></div>
                <div class="layui-form-mid layui-word-aux">当站点处于内部开放状态时，登录界面显示的提示信息</div>
              </div>
            </div>
            
            <div class="layui-form-item">
              <div class="layui-input-block">
                  <button class="layui-btn" lay-submit lay-filter="J_ajax_submit_btn">提交</button>
              </div>
            </div>
            
          </form>
            
          </div>
    </div>
  </div>
<script>
layui.use(['form'], function(){
  var form = layui.form;
  
  form.render();

});
</script>